package com.wind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 试卷题目表
 * </p>
 *
 * @author xiao
 * @since 2021-05-19
 */
@Data
@Accessors(chain = true)
@TableName("test_topic")
public class TestTopic implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 题干
     */
    private String stem;
    /**
     * 描述
     */
    private String description;
    /**
     * 测试分类id
     */
    @TableField("text_classify_id")
    private Long textClassifyId;
    /**
     * 价格
     */
    private Long price;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;
    /**
     * 状态
     */
    @TableField("is_active")
    private Integer isActive;


}
